public class Circle {
private double radius;
public Circle(double radius) {
this.radius = radius;
}
public void setRadius(double radius) {
this.radius = radius;
}
public double getCircumference() {
return Math.round(2 * Math.PI * radius * 100) / 100.0;
}
public double getArea() {
return Math.round(Math.PI * radius * radius * 100) / 100.0;
}
}
